﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 设备表
    /// </summary>
    [Table("PB_Equipment")]
    public partial class PB_Equipment
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 设备码
        /// </summary>
        public String EquNum { get; set; }

        /// <summary>
        /// Mac地址
        /// </summary>
        public String Mac { get; set; }

        /// <summary>
        /// 组织编号
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 车间编号
        /// </summary>
        public String WorkshopId { get; set; }

        /// <summary>
        /// 工位编号
        /// </summary>
        public String StationId { get; set; }

        /// <summary>
        /// 保管人编号
        /// </summary>
        public String CustodianId { get; set; }

        /// <summary>
        /// 状态 0 启用 1停用
        /// </summary>
        public Boolean Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Route { get; set; }
        /// <summary>
        /// 蓝牙
        /// </summary>
        public string Bluetooth { get; set; }

    }

    public class PB_EquipmentPrint {
        /// <summary>
        /// PDAid
        /// </summary>
      public List<string> Equipmentid { get; set; }
        /// <summary>
        /// 打印机id
        /// </summary>
        public string PrintID { get; set; }
        /// <summary>
        ///pda编码
        /// </summary>
        public string   EquipmenCode { get; set; }

    }
    public class PB_EquipmentCountPrint
    {
        /// <summary>
        
        /// <summary>
        /// 打印机id
        /// </summary>
        public string PrintID { get; set; }
      
    }
}